const {lableMod,updateLable}=require('../mod/lableMod');

module.exports.lables=async function(){
    let data=await lableMod.find();
    return data;
}

module.exports.updateLable=async function(Info){
    let data=await lableMod.updateOne({_id:Info.id},{lableName:Info.lableName});
}

module.exports.deleteLable=async function(Info){
    let data=await lableMod.remove({_id:Info.id});
}